﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_leasesystem_agent
{
    /// <summary>
    /// 渠道表
    /// </summary>
    [Table("leasesystem_agent")]
    public class leasesystem_agent
    {

        /// <summary>
        /// 主键id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 渠道名称
        /// </summary>
        public String AgentName { get; set; }

        /// <summary>
        /// 营业执照号或身份证号码
        /// </summary>
        public String IdNumber { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public String Phone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public String Address { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public Int32? CheckStatus { get; set; }

        /// <summary>
        /// 服务费率
        /// </summary>
        public Decimal? Rate { get; set; }

        /// <summary>
        /// 签约日期
        /// </summary>
        public DateTime? SignDate { get; set; }

        /// <summary>
        /// 佣金结算账号
        /// </summary>
        public String SettlementAccount { get; set; }

        /// <summary>
        /// 结算银行
        /// </summary>
        public String SettlementBank { get; set; }

        /// <summary>
        /// 营业执照
        /// </summary>
        public String BusinesslicenseImg { get; set; }

        /// <summary>
        /// 身份证照片
        /// </summary>
        public String identitycardImg { get; set; }

        /// <summary>
        /// 签约服务商ID串
        /// </summary>
        public String authorizeSID { get; set; }

        /// <summary>
        /// 合同附件ID
        /// </summary>
        public String FileAttId { get; set; }

        /// <summary>
        /// 身份证背面
        /// </summary>
        public String identitycardBackImg { get; set; }

        /// <summary>
        /// 上级渠道ID
        /// </summary>
        public String SuperiorAgentID { get; set; }

        /// <summary>
        /// 上级渠道名称
        /// </summary>
        public String SuperiorAgentName { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        public String AgentLevel { get; set; }

        /// <summary>
        /// 商务经理ID
        /// </summary>
        public String customerManagerId { get; set; }

        /// <summary>
        /// 商务经理名称
        /// </summary>
        public String customerManager { get; set; }

        /// <summary>
        /// 税号
        /// </summary>
        public String USCC { get; set; }

        /// <summary>
        /// 法人
        /// </summary>
        public String LegalPersonName { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public String ContactName { get; set; }

        /// <summary>
        /// 客服电话
        /// </summary>
        public String ReservedPhone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public String Region { get; set; }

        /// <summary>
        /// 佣金结算周期
        /// </summary>
        public Int32? SettlementInterval { get; set; }

        /// <summary>
        /// 完美签用户ID
        /// </summary>
        public String wmsignuserId { get; set; }

        /// <summary>
        /// 其他附件URL
        /// </summary>
        public String attfile { get; set; }

        /// <summary>
        /// 数据权限
        /// </summary>
        public String DataAreaId { get; set; }

    }
}